Pixeldev\SquareWooSync\Woo\CreateProduct A

Total Complexity 71
Dependencies 6
Dependents 1
Total lines 405
Lines of code 255
Logical lines of code 156
Comment lines 76
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
handle_variable_product()
D
28
32 128
handle_simple_product()
A
50 11 26
update_common_product_properties()
A
59 10 14
create_or_update_product()
S
54 5 19
get_or_create_product_by_square_id()
S
57 5 15
get_or_create_global_attribute()
S
54 3 21
get_or_create_attribute_term()
S
57 3 16
ensure_taxonomy_exists()
S
58 2 16